package com.hp.service.iml;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hp.dao.GoodsDao;
import com.hp.model.Goods;
import com.hp.service.GoodsService;

@Service
public class GoodsServiceiml implements GoodsService{
	
	@Autowired
	private GoodsDao gdao;

	@Override
	public Goods findById(int id) {
		return gdao.findById(id);
	}

}
